public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");//输出且换行
        System.out.print("Hello World!");//输出且不换行
        System.out.printf("%d\n",10);//和C语言一样
    }
}
